3.1.7 \(\int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx\) [7]

3.1.7.1 Optimal result
3.1.7.2 Mathematica [B] (warning: unable to verify)
3.1.7.3 Rubi [A] (verified)
3.1.7.4 Maple [B] (verified)
3.1.7.5 Fricas [F(-1)]
3.1.7.6 Sympy [F]
3.1.7.7 Maxima [F]
3.1.7.8 Giac [F]
3.1.7.9 Mupad [F(-1)]

3.1.7.1 Optimal result

Integrand size = 42, antiderivative size = 736 \[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}-\frac {B \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{d f h \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {B (b e-a f) \sqrt {b g-a h} \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b f h \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}+\frac {\sqrt {-d g+c h} (2 A b d f h+B (a d f h-b (d f g+d e h+c f h))) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b d \sqrt {b c-a d} f h^2 \sqrt {c+d x} \sqrt {e+f x}} \]

output
(2*A*b*d*f*h+B*(a*d*f*h-b*(c*f*h+d*e*h+d*f*g)))*(b*x+a)*EllipticPi((-a*d+b 
*c)^(1/2)*(h*x+g)^(1/2)/(c*h-d*g)^(1/2)/(b*x+a)^(1/2),-b*(-c*h+d*g)/(-a*d+ 
b*c)/h,((-a*f+b*e)*(-c*h+d*g)/(-a*d+b*c)/(-e*h+f*g))^(1/2))*(c*h-d*g)^(1/2 
)*((-a*h+b*g)*(d*x+c)/(-c*h+d*g)/(b*x+a))^(1/2)*((-a*h+b*g)*(f*x+e)/(-e*h+ 
f*g)/(b*x+a))^(1/2)/b/d/f/h^2/(-a*d+b*c)^(1/2)/(d*x+c)^(1/2)/(f*x+e)^(1/2) 
+B*(b*x+a)^(1/2)*(f*x+e)^(1/2)*(h*x+g)^(1/2)/f/h/(d*x+c)^(1/2)-B*(-a*f+b*e 
)*EllipticF((-a*h+b*g)^(1/2)*(f*x+e)^(1/2)/(-e*h+f*g)^(1/2)/(b*x+a)^(1/2), 
(-(-a*d+b*c)*(-e*h+f*g)/(-c*f+d*e)/(-a*h+b*g))^(1/2))*(-a*h+b*g)^(1/2)*((- 
a*f+b*e)*(d*x+c)/(-c*f+d*e)/(b*x+a))^(1/2)*(h*x+g)^(1/2)/b/f/h/(-e*h+f*g)^ 
(1/2)/(d*x+c)^(1/2)/(-(-a*f+b*e)*(h*x+g)/(-e*h+f*g)/(b*x+a))^(1/2)-B*Ellip 
ticE((-c*h+d*g)^(1/2)*(f*x+e)^(1/2)/(-e*h+f*g)^(1/2)/(d*x+c)^(1/2),((-a*d+ 
b*c)*(-e*h+f*g)/(-a*f+b*e)/(-c*h+d*g))^(1/2))*(-c*h+d*g)^(1/2)*(-e*h+f*g)^ 
(1/2)*(b*x+a)^(1/2)*(-(-c*f+d*e)*(h*x+g)/(-e*h+f*g)/(d*x+c))^(1/2)/d/f/h/( 
(-c*f+d*e)*(b*x+a)/(-a*f+b*e)/(d*x+c))^(1/2)/(h*x+g)^(1/2)
 
3.1.7.2 Mathematica [B] (warning: unable to verify)

Leaf count is larger than twice the leaf count of optimal. \(8030\) vs. \(2(736)=1472\).

Time = 42.32 (sec) , antiderivative size = 8030, normalized size of antiderivative = 10.91 \[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Result too large to show} \]

input
Integrate[(Sqrt[a + b*x]*(A + B*x))/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + 
h*x]),x]
 
output
Result too large to show
 
3.1.7.3 Rubi [A] (verified)

Time = 1.21 (sec) , antiderivative size = 725, normalized size of antiderivative = 0.99, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2099, 183, 188, 194, 321, 327, 412}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx\)

\(\Big \downarrow \) 2099

\(\displaystyle \frac {1}{2} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \int \frac {\sqrt {a+b x}}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx+\frac {B (d e-c f) (d g-c h) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}}dx}{2 d f h}-\frac {B (b e-a f) (b g-a h) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx}{2 b f h}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

\(\Big \downarrow \) 183

\(\displaystyle \frac {(a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}+\frac {B (d e-c f) (d g-c h) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}}dx}{2 d f h}-\frac {B (b e-a f) (b g-a h) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}}dx}{2 b f h}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

\(\Big \downarrow \) 188

\(\displaystyle \frac {(a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}+\frac {B (d e-c f) (d g-c h) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}}dx}{2 d f h}-\frac {B \sqrt {g+h x} (b e-a f) (b g-a h) \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \int \frac {1}{\sqrt {\frac {(b c-a d) (e+f x)}{(d e-c f) (a+b x)}+1} \sqrt {1-\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}}d\frac {\sqrt {e+f x}}{\sqrt {a+b x}}}{b f h \sqrt {c+d x} (f g-e h) \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

\(\Big \downarrow \) 194

\(\displaystyle \frac {(a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}-\frac {B \sqrt {g+h x} (b e-a f) (b g-a h) \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \int \frac {1}{\sqrt {\frac {(b c-a d) (e+f x)}{(d e-c f) (a+b x)}+1} \sqrt {1-\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}}d\frac {\sqrt {e+f x}}{\sqrt {a+b x}}}{b f h \sqrt {c+d x} (f g-e h) \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}-\frac {B \sqrt {a+b x} (d g-c h) \sqrt {-\frac {(g+h x) (d e-c f)}{(c+d x) (f g-e h)}} \int \frac {\sqrt {1-\frac {(b c-a d) (e+f x)}{(b e-a f) (c+d x)}}}{\sqrt {1-\frac {(d g-c h) (e+f x)}{(f g-e h) (c+d x)}}}d\frac {\sqrt {e+f x}}{\sqrt {c+d x}}}{d f h \sqrt {g+h x} \sqrt {\frac {(a+b x) (d e-c f)}{(c+d x) (b e-a f)}}}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

\(\Big \downarrow \) 321

\(\displaystyle \frac {(a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}-\frac {B \sqrt {a+b x} (d g-c h) \sqrt {-\frac {(g+h x) (d e-c f)}{(c+d x) (f g-e h)}} \int \frac {\sqrt {1-\frac {(b c-a d) (e+f x)}{(b e-a f) (c+d x)}}}{\sqrt {1-\frac {(d g-c h) (e+f x)}{(f g-e h) (c+d x)}}}d\frac {\sqrt {e+f x}}{\sqrt {c+d x}}}{d f h \sqrt {g+h x} \sqrt {\frac {(a+b x) (d e-c f)}{(c+d x) (b e-a f)}}}-\frac {B \sqrt {g+h x} (b e-a f) \sqrt {b g-a h} \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b f h \sqrt {c+d x} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

\(\Big \downarrow \) 327

\(\displaystyle \frac {(a+b x) \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \int \frac {1}{\left (h-\frac {b (g+h x)}{a+b x}\right ) \sqrt {\frac {(b c-a d) (g+h x)}{(d g-c h) (a+b x)}+1} \sqrt {\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}+1}}d\frac {\sqrt {g+h x}}{\sqrt {a+b x}}}{\sqrt {c+d x} \sqrt {e+f x}}-\frac {B \sqrt {g+h x} (b e-a f) \sqrt {b g-a h} \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b f h \sqrt {c+d x} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}-\frac {B \sqrt {a+b x} \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (d e-c f)}{(c+d x) (f g-e h)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{d f h \sqrt {g+h x} \sqrt {\frac {(a+b x) (d e-c f)}{(c+d x) (b e-a f)}}}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

\(\Big \downarrow \) 412

\(\displaystyle \frac {(a+b x) \sqrt {c h-d g} \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} \left (B \left (\frac {a}{b}-\frac {c}{d}-\frac {e}{f}-\frac {g}{h}\right )+2 A\right ) \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{h \sqrt {c+d x} \sqrt {e+f x} \sqrt {b c-a d}}-\frac {B \sqrt {g+h x} (b e-a f) \sqrt {b g-a h} \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b f h \sqrt {c+d x} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}-\frac {B \sqrt {a+b x} \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (d e-c f)}{(c+d x) (f g-e h)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{d f h \sqrt {g+h x} \sqrt {\frac {(a+b x) (d e-c f)}{(c+d x) (b e-a f)}}}+\frac {B \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{f h \sqrt {c+d x}}\)

input
Int[(Sqrt[a + b*x]*(A + B*x))/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]), 
x]
 
output
(B*Sqrt[a + b*x]*Sqrt[e + f*x]*Sqrt[g + h*x])/(f*h*Sqrt[c + d*x]) - (B*Sqr 
t[d*g - c*h]*Sqrt[f*g - e*h]*Sqrt[a + b*x]*Sqrt[-(((d*e - c*f)*(g + h*x))/ 
((f*g - e*h)*(c + d*x)))]*EllipticE[ArcSin[(Sqrt[d*g - c*h]*Sqrt[e + f*x]) 
/(Sqrt[f*g - e*h]*Sqrt[c + d*x])], ((b*c - a*d)*(f*g - e*h))/((b*e - a*f)* 
(d*g - c*h))])/(d*f*h*Sqrt[((d*e - c*f)*(a + b*x))/((b*e - a*f)*(c + d*x)) 
]*Sqrt[g + h*x]) - (B*(b*e - a*f)*Sqrt[b*g - a*h]*Sqrt[((b*e - a*f)*(c + d 
*x))/((d*e - c*f)*(a + b*x))]*Sqrt[g + h*x]*EllipticF[ArcSin[(Sqrt[b*g - a 
*h]*Sqrt[e + f*x])/(Sqrt[f*g - e*h]*Sqrt[a + b*x])], -(((b*c - a*d)*(f*g - 
 e*h))/((d*e - c*f)*(b*g - a*h)))])/(b*f*h*Sqrt[f*g - e*h]*Sqrt[c + d*x]*S 
qrt[-(((b*e - a*f)*(g + h*x))/((f*g - e*h)*(a + b*x)))]) + ((2*A + B*(a/b 
- c/d - e/f - g/h))*Sqrt[-(d*g) + c*h]*(a + b*x)*Sqrt[((b*g - a*h)*(c + d* 
x))/((d*g - c*h)*(a + b*x))]*Sqrt[((b*g - a*h)*(e + f*x))/((f*g - e*h)*(a 
+ b*x))]*EllipticPi[-((b*(d*g - c*h))/((b*c - a*d)*h)), ArcSin[(Sqrt[b*c - 
 a*d]*Sqrt[g + h*x])/(Sqrt[-(d*g) + c*h]*Sqrt[a + b*x])], ((b*e - a*f)*(d* 
g - c*h))/((b*c - a*d)*(f*g - e*h))])/(Sqrt[b*c - a*d]*h*Sqrt[c + d*x]*Sqr 
t[e + f*x])
 

3.1.7.3.1 Defintions of rubi rules used

rule 183
Int[Sqrt[(a_.) + (b_.)*(x_)]/(Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.)*( 
x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_] :> Simp[2*(a + b*x)*Sqrt[(b*g - a*h)*(( 
c + d*x)/((d*g - c*h)*(a + b*x)))]*(Sqrt[(b*g - a*h)*((e + f*x)/((f*g - e*h 
)*(a + b*x)))]/(Sqrt[c + d*x]*Sqrt[e + f*x]))   Subst[Int[1/((h - b*x^2)*Sq 
rt[1 + (b*c - a*d)*(x^2/(d*g - c*h))]*Sqrt[1 + (b*e - a*f)*(x^2/(f*g - e*h) 
)]), x], x, Sqrt[g + h*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d, e, f, g, 
 h}, x]
 

rule 188
Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*Sqrt[(e_.) + (f_.) 
*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_] :> Simp[2*Sqrt[g + h*x]*(Sqrt[(b*e - 
a*f)*((c + d*x)/((d*e - c*f)*(a + b*x)))]/((f*g - e*h)*Sqrt[c + d*x]*Sqrt[( 
-(b*e - a*f))*((g + h*x)/((f*g - e*h)*(a + b*x)))]))   Subst[Int[1/(Sqrt[1 
+ (b*c - a*d)*(x^2/(d*e - c*f))]*Sqrt[1 - (b*g - a*h)*(x^2/(f*g - e*h))]), 
x], x, Sqrt[e + f*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d, e, f, g, h}, 
x]
 

rule 194
Int[Sqrt[(c_.) + (d_.)*(x_)]/(((a_.) + (b_.)*(x_))^(3/2)*Sqrt[(e_.) + (f_.) 
*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_] :> Simp[-2*Sqrt[c + d*x]*(Sqrt[(-(b*e 
 - a*f))*((g + h*x)/((f*g - e*h)*(a + b*x)))]/((b*e - a*f)*Sqrt[g + h*x]*Sq 
rt[(b*e - a*f)*((c + d*x)/((d*e - c*f)*(a + b*x)))]))   Subst[Int[Sqrt[1 + 
(b*c - a*d)*(x^2/(d*e - c*f))]/Sqrt[1 - (b*g - a*h)*(x^2/(f*g - e*h))], x], 
 x, Sqrt[e + f*x]/Sqrt[a + b*x]], x] /; FreeQ[{a, b, c, d, e, f, g, h}, x]
 

rule 321
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(1/(Sqrt[a]*Sqrt[c]*Rt[-d/c, 2]))*EllipticF[ArcSin[Rt[-d/c, 2]*x], b*(c 
/(a*d))], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 
0] &&  !(NegQ[b/a] && SimplerSqrtQ[-b/a, -d/c])
 

rule 327
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[ 
(Sqrt[a]/(Sqrt[c]*Rt[-d/c, 2]))*EllipticE[ArcSin[Rt[-d/c, 2]*x], b*(c/(a*d) 
)], x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[a, 0]
 

rule 412
Int[1/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]*Sqrt[(e_) + (f_.)*(x 
_)^2]), x_Symbol] :> Simp[(1/(a*Sqrt[c]*Sqrt[e]*Rt[-d/c, 2]))*EllipticPi[b* 
(c/(a*d)), ArcSin[Rt[-d/c, 2]*x], c*(f/(d*e))], x] /; FreeQ[{a, b, c, d, e, 
 f}, x] &&  !GtQ[d/c, 0] && GtQ[c, 0] && GtQ[e, 0] &&  !( !GtQ[f/e, 0] && S 
implerSqrtQ[-f/e, -d/c])
 

rule 2099
Int[(Sqrt[(a_.) + (b_.)*(x_)]*((A_.) + (B_.)*(x_)))/(Sqrt[(c_.) + (d_.)*(x_ 
)]*Sqrt[(e_.) + (f_.)*(x_)]*Sqrt[(g_.) + (h_.)*(x_)]), x_Symbol] :> Simp[B* 
Sqrt[a + b*x]*Sqrt[e + f*x]*(Sqrt[g + h*x]/(f*h*Sqrt[c + d*x])), x] + (-Sim 
p[B*(b*e - a*f)*((b*g - a*h)/(2*b*f*h))   Int[1/(Sqrt[a + b*x]*Sqrt[c + d*x 
]*Sqrt[e + f*x]*Sqrt[g + h*x]), x], x] + Simp[B*(d*e - c*f)*((d*g - c*h)/(2 
*d*f*h))   Int[Sqrt[a + b*x]/((c + d*x)^(3/2)*Sqrt[e + f*x]*Sqrt[g + h*x]), 
 x], x] + Simp[(2*A*b*d*f*h + B*(a*d*f*h - b*(d*f*g + d*e*h + c*f*h)))/(2*b 
*d*f*h)   Int[Sqrt[a + b*x]/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]), x] 
, x]) /; FreeQ[{a, b, c, d, e, f, g, h, A, B}, x] && NeQ[2*A*d*f - B*(d*e + 
 c*f), 0]
 
3.1.7.4 Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(1543\) vs. \(2(671)=1342\).

Time = 5.15 (sec) , antiderivative size = 1544, normalized size of antiderivative = 2.10

method result size
elliptic \(\text {Expression too large to display}\) \(1544\)
default \(\text {Expression too large to display}\) \(21369\)

input
int((b*x+a)^(1/2)*(B*x+A)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x,meth 
od=_RETURNVERBOSE)
 
output
((b*x+a)*(d*x+c)*(f*x+e)*(h*x+g))^(1/2)/(b*x+a)^(1/2)/(d*x+c)^(1/2)/(f*x+e 
)^(1/2)/(h*x+g)^(1/2)*(2*A*a*(g/h-a/b)*((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c 
/d))^(1/2)*(x+c/d)^2*((-c/d+a/b)*(x+e/f)/(-e/f+a/b)/(x+c/d))^(1/2)*((-c/d+ 
a/b)*(x+g/h)/(-g/h+a/b)/(x+c/d))^(1/2)/(-g/h+c/d)/(-c/d+a/b)/(b*d*f*h*(x+a 
/b)*(x+c/d)*(x+e/f)*(x+g/h))^(1/2)*EllipticF(((-g/h+c/d)*(x+a/b)/(-g/h+a/b 
)/(x+c/d))^(1/2),((e/f-c/d)*(g/h-a/b)/(-a/b+e/f)/(-c/d+g/h))^(1/2))+2*(A*b 
+B*a)*(g/h-a/b)*((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2)*(x+c/d)^2*(( 
-c/d+a/b)*(x+e/f)/(-e/f+a/b)/(x+c/d))^(1/2)*((-c/d+a/b)*(x+g/h)/(-g/h+a/b) 
/(x+c/d))^(1/2)/(-g/h+c/d)/(-c/d+a/b)/(b*d*f*h*(x+a/b)*(x+c/d)*(x+e/f)*(x+ 
g/h))^(1/2)*(-c/d*EllipticF(((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2), 
((e/f-c/d)*(g/h-a/b)/(-a/b+e/f)/(-c/d+g/h))^(1/2))+(c/d-a/b)*EllipticPi((( 
-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2),(-g/h+a/b)/(-g/h+c/d),((e/f-c/ 
d)*(g/h-a/b)/(-a/b+e/f)/(-c/d+g/h))^(1/2)))+B*b*((x+a/b)*(x+e/f)*(x+g/h)+( 
g/h-a/b)*((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2)*(x+c/d)^2*((-c/d+a/ 
b)*(x+e/f)/(-e/f+a/b)/(x+c/d))^(1/2)*((-c/d+a/b)*(x+g/h)/(-g/h+a/b)/(x+c/d 
))^(1/2)*((a*c/b/d-g/h*a/b+g/h*c/d+c^2/d^2)/(-g/h+c/d)/(-c/d+a/b)*Elliptic 
F(((-g/h+c/d)*(x+a/b)/(-g/h+a/b)/(x+c/d))^(1/2),((e/f-c/d)*(g/h-a/b)/(-a/b 
+e/f)/(-c/d+g/h))^(1/2))+(-a/b+e/f)*EllipticE(((-g/h+c/d)*(x+a/b)/(-g/h+a/ 
b)/(x+c/d))^(1/2),((e/f-c/d)*(g/h-a/b)/(-a/b+e/f)/(-c/d+g/h))^(1/2))/(-c/d 
+a/b)+(a*d*f*h+b*c*f*h+b*d*e*h+b*d*f*g)/b/d/f/h/(-g/h+c/d)*EllipticPi((...
 
3.1.7.5 Fricas [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Timed out} \]

input
integrate((b*x+a)^(1/2)*(B*x+A)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2), 
x, algorithm="fricas")
 
output
Timed out
 
3.1.7.6 Sympy [F]

\[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {\left (A + B x\right ) \sqrt {a + b x}}{\sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \]

input
integrate((b*x+a)**(1/2)*(B*x+A)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1 
/2),x)
 
output
Integral((A + B*x)*sqrt(a + b*x)/(sqrt(c + d*x)*sqrt(e + f*x)*sqrt(g + h*x 
)), x)
 
3.1.7.7 Maxima [F]

\[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {{\left (B x + A\right )} \sqrt {b x + a}}{\sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]

input
integrate((b*x+a)^(1/2)*(B*x+A)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2), 
x, algorithm="maxima")
 
output
integrate((B*x + A)*sqrt(b*x + a)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + 
g)), x)
 
3.1.7.8 Giac [F]

\[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {{\left (B x + A\right )} \sqrt {b x + a}}{\sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]

input
integrate((b*x+a)^(1/2)*(B*x+A)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2), 
x, algorithm="giac")
 
output
integrate((B*x + A)*sqrt(b*x + a)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + 
g)), x)
 
3.1.7.9 Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b x} (A+B x)}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {\left (A+B\,x\right )\,\sqrt {a+b\,x}}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,\sqrt {c+d\,x}} \,d x \]

input
int(((A + B*x)*(a + b*x)^(1/2))/((e + f*x)^(1/2)*(g + h*x)^(1/2)*(c + d*x) 
^(1/2)),x)
 
output
int(((A + B*x)*(a + b*x)^(1/2))/((e + f*x)^(1/2)*(g + h*x)^(1/2)*(c + d*x) 
^(1/2)), x)